import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
import publicArt from './modules/publicArt'
import home from './modules/home'
import login from './modules/login'
import register from './modules/register'
import artDetail from './modules/artDetail'
import user from './modules/user'
import createCollection from './modules/createCollection'
import search from './modules/search'
import popPanel from './modules/popPanel'
import artist from './modules/artist'
import array from './modules/array'
import create from './modules/create'
import hot from './modules/hot'


export default new Vuex.Store({
    modules: {
        publicArt,home,login,register,artDetail,user,createCollection,search,popPanel,artist,array,create,hot
    }
})